package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.jdbc.model.PromGroupDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PromGroupDetailMapper extends AbstractPromGroupDetailMapper{
    List<PromGroupDetail> selectByGroupNo(String groupNo);

    PromGroupDetail selectByIndex(@Param("groupNo") String groupNo, @Param("buylerId") String buylerId);

    PromGroupDetail selectByUserAndOrderNo(@Param("buylerId") String buylerId, @Param("orderNo") String orderNo);

    PromGroupDetail selectByOrderNo(String orderNo);
}
